Repository navigation
fix(sandbox): distinguish descriptor lookup outcomes - #4494
Conversation
|
Label |
PR Review StatusThe independent review found no blocking problems in the descriptor-inspection change. Lookup errors now deny native fallback, while verified unregistered descriptors retain native Unix socket behavior. Blocking findings: None. Gator metadata
|
drew
left a comment
There was a problem hiding this comment.
A closed file descriptor should retain the syscall's EBADF behavior.
PR Review StatusThanks @drew, I checked your request to preserve Blocking findings: None. Gator metadata
|
Signed-off-by: John Myers <9696606+johntmyers@users.noreply.github.com>
Signed-off-by: John Myers <9696606+johntmyers@users.noreply.github.com>
3e7bceb to
724ea2e
Compare
Merge ReadyThe current head preserves the effective patch from the completed independent review, with no blocking findings or unresolved review threads. Thanks @drew for approving this head; I verified your approval and the current-head required checks. Action required: A maintainer should merge this PR or decide to close it. Gator metadata
|
Monitoring CompleteMonitoring is complete because this PR has merged. Final status: Gator reached merge-ready with no blocking findings, maintainer approval, and passing required checks including E2E. I removed the active Gator metadata
|
| if tid == 0 || fd < 0 { | ||
| return Err(io::Error::new( | ||
| io::ErrorKind::InvalidInput, | ||
| "TID must be nonzero and FD must be nonnegative", |
There was a problem hiding this comment.
"It would be much more helpful for debugging if the error message included the actual values that triggered it. Could we update the string to print the invalid TID and FD values?"
There was a problem hiding this comment.
@peppywolfym-lab feel free to open an issue + pr for this
Summary
Distinguish verified unregistered descriptors from descriptor inspection failures in the sandbox network broker. Deny operations when the broker cannot verify the descriptor before a native fallback.
Related Issue
No issue, per direct request.
Changes
Testing
transparent_tcpChecklist